package com.yangtzeu.jwc.domain;

/**
 * 成绩
 *
 * @author ZhangDI
 */
public class Sc implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;
    private String sno;
    private String cname;
    private String credit;
    private String year;
    private String term;
    private String type;
    private String grade;

    public Sc() {
    }

    public Sc(String sno, String cname) {
        this.sno = sno;
        this.cname = cname;
    }

    public Sc(String sno, String cname, String credit, String year,
              String term, String type, String grade) {
        this.sno = sno;
        this.cname = cname;
        this.credit = credit;
        this.year = year;
        this.term = term;
        this.type = type;
        this.grade = grade;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSno() {
        return this.sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getCname() {
        return this.cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCredit() {
        return this.credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public String getYear() {
        return this.year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getTerm() {
        return this.term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGrade() {
        return this.grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Sc [id=" + id + ", sno=" + sno + ", cname=" + cname
                + ", credit=" + credit + ", year=" + year + ", term=" + term
                + ", type=" + type + ", grade=" + grade + "]";
    }

}